import './styles/main.css'
import {audioPlayerRender} from "./components/audio-player/render.js";
import './services/useAudioPlayer/index.js'
import {GlobalAudioPlayer} from "./services/useAudioPlayer/index.js";

// 应用：一组组件的集合体
function render(app) {
    return app.innerHTML = audioPlayerRender();
}

render(document.querySelector('#app'));

GlobalAudioPlayer.init();
GlobalAudioPlayer.setCurrentMusic(0);
